class FeedCollection:
 
    def __init__(self, title):
        self.entries = []
        self.title = title
        pass
    
    def addEntry(self, entry):
        if not isinstance(entry, FeedEntry):
            raise Exception("Can only add FeedEntry")
        self.entries.append(entry)
    
class FeedEntry(object):
    
    def __init__(self, date, title, subtitle, content):
        self.title = title
        self.subtitle = subtitle
        self.content = content
        self.date = date